package chapter_4;

public class Cylinder {
    double radius;
    int  height;
    double pi = 3.14;
    public double volume(){
        return  area() * height;
    }
    public double area(){
        return  pi * radius * radius;
    }
}
